import React, { memo } from 'react'
import { HeaderCenterWrapper } from './style'
import IconSearchBar from '@/assets/svg/icon-search-bar'

const HeaderCenter = memo(() => {
  return (
    <HeaderCenterWrapper>
      <span>预定你的房间</span>
      <span className='icon_search'>
        <IconSearchBar></IconSearchBar>
      </span>
    </HeaderCenterWrapper>
  )
})

export default HeaderCenter